package com.example.comsys.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 员工薪资
 *
 * @author wjh
 * @date 2019/12/30, 周一
 */
@Getter
@Setter
@ToString(callSuper = true)
@NoArgsConstructor
public class Wage extends EmployeeBase {

  /**
   * 基本工资
   */
  private float baseSalary;

  /**
   * 基本奖金
   */
  private float baseBonus;

  /**
   * 绩效收益
   */
  private float benefitBonus;

  /**
   * 扣除薪资
   */
  private float deSalary;

  /**
   * 扣除津贴
   */
  private float deBonus;


  /**
   * 实发工资
   */
  private float realGet;


  private int year;
  private int month;

  public Wage(float baseSalary, float baseBonus, float deSalary, int year, int month) {
    this.baseSalary = baseSalary;
    this.baseBonus = baseBonus;
    this.deSalary = deSalary;
    this.year = year;
    this.month = month;
  }
}
